﻿package net.eascn.flowerThief.model
{
	import mx.collections.ArrayCollection;	
	
	import flash.events.EventDispatcher;	
	
	/**
	 * @author eas
	 * @created  2009-3-2 - 上午11:44:52
	 */
	 [Bindable]
	public class ModelLocator extends EventDispatcher
	{
		private static var _instatnce : ModelLocator;
			
		/**
		 * @return 返回一个 ModelLocator的单件实例
		 */
		public static function getInstance() : ModelLocator
		{
			if (_instatnce == null)
				_instatnce = new ModelLocator(new SingletonForce());
			return _instatnce;
		}
		
		public function ModelLocator(singletonForce : SingletonForce) 
		{
		}
		
		
		public var featured : ArrayCollection = new ArrayCollection();
		public var query : ArrayCollection = new ArrayCollection();
		
	}
}
class SingletonForce{}